# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CreditTaskSignUpDetail(object):

    def __init__(self, phone=None, ip=None, regEmail=None, regName=None, regType=None, channel=None, timestamp=None, elapsedTime=None, macAddress=None, imei=None, idfa=None, eid=None, regResult=None):
        """
        :param phone: (Optional) 注册手机号，国内手机：11位手机号;海外手机：以+号开头，4位国家代码+5-11位手机号扩展位；手机注册，必填
        :param ip: (Optional) 注册IP，用户注册IP，IPV4 或 IPV6
        :param regEmail: (Optional) 注册邮箱，用户注册邮箱；邮箱注册，必填
        :param regName: (Optional) 注册账号名，用户注册名称；pin注册，必填
        :param regType: (Optional) 注册类型，1：手机注册；2 ：邮箱注册；3：pin注册；0：其他。
        :param channel: (Optional) 注册渠道或注册终端，1：PC端web浏览器注册 PC-Brower；2：PC客户端注册 PC-Client；3：移动设备各种APP注册 Mobile-APP；4 ：移动设备浏览器登录，移动端M页注册 Mobile-Brower；5：移动设备微信客户端中购物入口的注册操作 Mobile-WX；6： 移动设备QQ客户端中购物入口的注册操作 Mobile-QQ；7： 移动设备微信客户端中微信小程序注册操作- Mobile-WX；0：其他
        :param timestamp: (Optional) 注册时间，用户注册完成时间，UNIX时间戳，精确到毫秒
        :param elapsedTime: (Optional) 注册占用时长，从用户进入注册页到点击注册提交之间的时间差，单位ms
        :param macAddress: (Optional) MAC地址，MAC 地址或设备唯一标识。
        :param imei: (Optional) 手机设备号，Android：imei，IOS：idfa
        :param idfa: (Optional) 手机设备号，Android：imei，IOS：idfa
        :param eid: (Optional) 注册设备号，设备指纹编码
        :param regResult: (Optional) 注册结果，1：注册成功；2：注册失败。
        """

        self.phone = phone
        self.ip = ip
        self.regEmail = regEmail
        self.regName = regName
        self.regType = regType
        self.channel = channel
        self.timestamp = timestamp
        self.elapsedTime = elapsedTime
        self.macAddress = macAddress
        self.imei = imei
        self.idfa = idfa
        self.eid = eid
        self.regResult = regResult
